package com.homedo.microservice.open.service.gateway.manager.web.api.bean.model.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.homedo.common.bean.model.base.BaseAMO;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;
import java.util.List;

@ApiModel
@Data
public class RouteServiceAResp extends BaseAMO {
    private String id;
    private String applicationName;
    private Short statusCode;
    private String statusDesc;
    private String comment;
    private String healthUrl;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private List<RouteServiceUrlAResp> routeServiceUrls;//服务地址列表
    private List<AlertUserAResp> alertUsers;//告警联系人列表

}
